import PostCollections from './PostCollections';
import { Outlet, useNavigate } from 'react-router-dom';

export default function Page() {
  const navigate = useNavigate();

  return (
    <>
      <h1>PostContent</h1>
      <div className="flex gap-2">
        <PostCollections onClick={(c) => navigate(`/me/post-collections/${c.id}`)} />
        <div className="flex-1">
          <Outlet />
        </div>
      </div>
    </>
  );
}
